package com.ylcy.ads.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import androidx.annotation.Nullable;

import com.ylcy.ads.schedule.LoopService;

public class RuleService extends Service {

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        //定时调用完成应用调起操作
        LoopService.start();
        return super.onStartCommand(intent, flags, startId);
    }
}
